package com.bestcem.xm.txtanls.grpc.service.param.survey;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * 问卷分析项目分析字段入参校验
 *
 * @author XiaoYunSong <ys.xiao@idiaoyan.com>
 * @version v1.0
 * @date 2021/5/10-17:59
 */
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
public class SurveyFieldParam {

    /**
     * 问卷字段id
     */
    @NotBlank(message = "问卷字段id不能为空")
    private String id;

    /**
     * 问卷字段中文标题
     */
    @NotBlank(message = "问卷字段中文标题不能为空")
    private String title;
}
